package org.wuliu.pojo;

public class Qvpai {
    private Integer id;
    private String name;
    private String phone;
    private String danwei;
    private Integer zhuangtai;
    private String biaozhun;
    private Integer danweiId;
    private Gongsi gongsi;
    private String[] danweis;
    private String[] zhuangtais;

    public String[] getDanweis() {
        return danweis;
    }

    public void setDanweis(String[] danweis) {
        this.danweis = danweis;
    }

    public String[] getZhuangtais() {
        return zhuangtais;
    }

    public void setZhuangtais(String[] zhuangtais) {
        this.zhuangtais = zhuangtais;
    }

    public Integer getDanweiId() {
        return danweiId;
    }

    public void setDanweiId(Integer danweiId) {
        this.danweiId = danweiId;
    }

    public Gongsi getGongsi() {
        return gongsi;
    }

    public void setGongsi(Gongsi gongsi) {
        this.gongsi = gongsi;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getDanwei() {
        return danwei;
    }

    public void setDanwei(String danwei) {
        this.danwei = danwei;
    }

    public Integer getZhuangtai() {
        return zhuangtai;
    }

    public void setZhuangtai(Integer zhuangtai) {
        this.zhuangtai = zhuangtai;
    }

    public String getBiaozhun() {
        return biaozhun;
    }

    public void setBiaozhun(String biaozhun) {
        this.biaozhun = biaozhun;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Qvpai qvpai = (Qvpai) o;

        if (id != null ? !id.equals(qvpai.id) : qvpai.id != null) return false;
        if (name != null ? !name.equals(qvpai.name) : qvpai.name != null) return false;
        if (phone != null ? !phone.equals(qvpai.phone) : qvpai.phone != null) return false;
        if (danwei != null ? !danwei.equals(qvpai.danwei) : qvpai.danwei != null) return false;
        if (zhuangtai != null ? !zhuangtai.equals(qvpai.zhuangtai) : qvpai.zhuangtai != null) return false;
        if (biaozhun != null ? !biaozhun.equals(qvpai.biaozhun) : qvpai.biaozhun != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = id != null ? id.hashCode() : 0;
        result = 31 * result + (name != null ? name.hashCode() : 0);
        result = 31 * result + (phone != null ? phone.hashCode() : 0);
        result = 31 * result + (danwei != null ? danwei.hashCode() : 0);
        result = 31 * result + (zhuangtai != null ? zhuangtai.hashCode() : 0);
        result = 31 * result + (biaozhun != null ? biaozhun.hashCode() : 0);
        return result;
    }
}
